Skip to content

fix(spec): avoid accessing $ref when path item is not an object#10456

Merged
glowcloud merged 3 commits intomasterfrom
fix-empty-path-item
May 20, 2025
Merged

fix(spec): avoid accessing $ref when path item is not an object#10456
glowcloud merged 3 commits intomasterfrom
fix-empty-path-item

Conversation

@glowcloud
Copy link
Copy Markdown
Contributor

This PR avoids accessing $ref of Path Item that is not an object, e.g. when it is null:

openapi: 3.0.4
paths:
  /test:

@glowcloud glowcloud merged commit 581d544 into master May 20, 2025
8 checks passed
delendik-testops pushed a commit to ModiusOpenData/swagger-ui that referenced this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants